]> dgit.raspbian.org Git - gnome-shell.git/commit
boxPointer: Use the anchor point to fix problems with allocations
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 26 Mar 2011 20:38:57 +0000 (16:38 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 28 Mar 2011 19:27:10 +0000 (15:27 -0400)
commit22c22e0d7a43de6a152bfe55966d310272fa93ef
tree44b938bb02c0794c74cbfd0db1904f4c7e19cc9b
parentbc48bd5f4a62ba7f2a655264ee6200f0f23e45c4
boxPointer: Use the anchor point to fix problems with allocations

Instead of setting the x/y position of the box pointer, which results
in a long change of workarounds for limitations of the Clutter
layout system, set the anchor point instead, which takes the
positioning out of the layout system.

The position is computed as a combination of the position computed
from the allocation and the box pointer's size, and an offset that
we tween when animating showing and hiding the box pointer.

https://bugzilla.gnome.org/show_bug.cgi?id=645744
js/ui/boxpointer.js